package cn.wolfcode.p2p.base.service;

import cn.wolfcode.p2p.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface IIpLogService {
    /**
     * 查询分页
     *
     * @param qo
     * @return
     */
    PageInfo query(QueryObject qo);

    /**
     * 保存登录日志
     * @param username
     * @param state
     */
    void save(String username, Integer state, Integer userType);
}
